package cn.itsource.exam.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class Role {

    /*角色id*/
    private Long id;
    /*角色编码*/
    private String code;
    /*角色名称*/
    private String name;

    @TableField(exist = false)
    private List<Permission> permissions=new ArrayList<Permission>();


}
